﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>MvcHtmlHelper</title>
</head>
<body>
    <div>
        @Html.ActionLink("ActionLink-关于", "about", new { ab = "" }, new { @placeholder = "李俊辉" })
        @*@Html.Action("index")*@
        @Html.AntiForgeryToken()
        @Html.TextBox("李俊辉", "李俊辉", new { @placeholder = "李俊辉" })
        @Html.TextArea("TextArea", "ww", new { @style = "height:300px" })
        @{ var list = new List<SelectListItem>();
            for (var i = 0; i < 5; i++)
            {
                var item = new SelectListItem();
                item.Value = i.ToString();
                item.Text = i.ToString();
                list.Add(item);
            }
        }
        @Html.ListBox("listBox", list, new { style = "width:100px;" })
        @Html.DropDownList("DropDownList", list)

        @Html.CheckBox("CheckBox",true);
    </div>
</body>
</html>
